Skip to content

Conversation

@vi
Copy link

@vi vi commented Apr 13, 2024

Attempt to add WebSocket support to h3.

I don't know any server that supports RFC 9220, so it is untested.

@pythonwood
Copy link

Hi. you can add some unit test.
support rfc9220 server:
https://github.com/ngtcp2/nghttp3

@vi
Copy link
Author

vi commented Dec 13, 2024

What should the unit test test? as_str / from_str implementations?

@ararog
Copy link

ararog commented Oct 29, 2025

Other implementation of RFC9220:

https://github.com/aiortc/aioquic

@vi
Copy link
Author

vi commented Oct 31, 2025

Hi. you can add some unit test. support rfc9220 server: https://github.com/ngtcp2/nghttp3

It is appropriate to add a heavy dev-dependency for a such a trivial change?

@ararog
Copy link

ararog commented Oct 31, 2025

Based on what I see on other implementations of websocket, h3 should only provide the minimum at http level to be able to establish websockets connection, which is, in short, the ability to set CONNECT pseudo-headers, and maybe send the settings frames, besides that, looks like the remaining parts can still take advantage of existing frame parsing libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants